package com.atguigu.gulimall.search.vo;

import lombok.Data;

import java.util.List;

/**
 * 封装所有检索条件
 */
@Data
public class SearchParam {
    private String keyword; //页面传递过来的全文匹配关键字

    private Long catalog3Id; //三级分类id

    /**
     * sort = saleCount_asc/desc
     * sort = skuPrice_asc/desc
     * sort = hotScore_asc/desc
     */
    private String sort;//排序条件

    private Integer hasStock = 1; //0/1 无货 有货

    private String skuPrice; //价格区间

    private List<Long> brandId;

    private List<String> attrs;
    private Integer pageNum = 1; //页码
}
